#include <iostream>
#include "infInt.h"

using namespace std;

int main() {
    infInt a, b;
    cin >> a >> b;

    cout << "a + b = " << a + b << endl;
    cout << "a - b = " << a - b << endl;
    cout << "a * b = " << a * b << endl;
    cout << "a / b = " << a / b << endl;
    cout << "b / a = " << b / a << endl;
    cout << "a % b = " << a % b << endl;
    cout << "b % a = " << b % a << endl;
    
    if (a > b) cout << "a > b" << endl;
    else if (a < b) cout << "a < b" << endl;
    else cout << "a = b" << endl;
    cout << "end" << endl;

    return 0;
}